package main

import (
	"log"
	"net/http"
	"os"
)

func main() {
	//文件浏览
	path, err := os.Getwd()
	http.Handle("/", http.FileServer(http.Dir(path)))
	err = http.ListenAndServe(":8080", nil)
	if err != nil {
		log.Fatal("ListenAndServe: ", err)
	}
}
